From afb6105a51478b7f2ff7427f14fdfc17119df0ed Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 23 Mar 2016 09:42:17 -0400 Subject: [PATCH] admin-switch: Add missing reboot argument Spotted by jlebon in https://github.com/GNOME/ostree/pull/211 --- src/ostree/ot-admin-builtin-switch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ostree/ot-admin-builtin-switch.c b/src/ostree/ot-admin-builtin-switch.c index 5339de9d..4d82ca6b 100644 --- a/src/ostree/ot-admin-builtin-switch.c +++ b/src/ostree/ot-admin-builtin-switch.c @@ -34,6 +34,7 @@ static gboolean opt_reboot; static char *opt_osname; static GOptionEntry options[] = { + { "reboot", 'r', 0, G_OPTION_ARG_NONE, &opt_reboot, "Reboot after switching trees", NULL }, { "os", 0, 0, G_OPTION_ARG_STRING, &opt_osname, "Use a different operating system root than the current one", "OSNAME" }, { NULL } }; -- 2.30.2